package com.hxy.health.platform.pojo;

import java.util.Date;

public class Product {
    /** 自增id */
    private Integer id;

    /** 标题 */
    private String title;

    /** 原价 */
    private String oldProce;

    /** 现价 */
    private String nowPrice;

    /** 介绍 */
    private String productDesc;

    /** 数量 */
    private Integer quantity;

    /** 图片 */
    private String imgUrl;

    /** 状态 */
    private String status;

    /** 是否热门 */
    private String ishot;

    /** 点击量 */
    private Integer cilckNum;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public Product(Integer id, String title, String oldProce, String nowPrice, String productDesc, Integer quantity, String imgUrl, String status, String ishot, Integer cilckNum, Date createTime, Date updateTime) {
        this.id = id;
        this.title = title;
        this.oldProce = oldProce;
        this.nowPrice = nowPrice;
        this.productDesc = productDesc;
        this.quantity = quantity;
        this.imgUrl = imgUrl;
        this.status = status;
        this.ishot = ishot;
        this.cilckNum = cilckNum;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Product() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getOldProce() {
        return oldProce;
    }

    public void setOldProce(String oldProce) {
        this.oldProce = oldProce == null ? null : oldProce.trim();
    }

    public String getNowPrice() {
        return nowPrice;
    }

    public void setNowPrice(String nowPrice) {
        this.nowPrice = nowPrice == null ? null : nowPrice.trim();
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc == null ? null : productDesc.trim();
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getIshot() {
        return ishot;
    }

    public void setIshot(String ishot) {
        this.ishot = ishot == null ? null : ishot.trim();
    }

    public Integer getCilckNum() {
        return cilckNum;
    }

    public void setCilckNum(Integer cilckNum) {
        this.cilckNum = cilckNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}